﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace WebCalendar.Models
{
    public class WebCalendarContext : DbContext
    {
        public WebCalendarContext()
            : base("DefaultConnection")
        {
            
        }

        public DbSet<UserProfile> UserProfiles { get; set; }
        public DbSet<Entry> Entries { get; set; }
        public DbSet<PersonalEntry> PersonalEntries { get; set; }
        public DbSet<Category> Categories { get; set; }
        public DbSet<Calendar> Calendars { get; set; }
        public DbSet<Role> CalendarRoles { get; set; }
        public DbSet<EntryFilter> EntryFilters { get; set; }
        public DbSet<AppointmentRequest> AppointmentRequests { get; set; }
    }
}